package com.daoeping.action;

import com.daoeping.data.Bzn_questionassigned;
import com.daoeping.data.Usr_user;
import com.daoeping.domain.JsonData;
import com.daoeping.domain.Page;
import com.daoeping.domain.TableData;
import com.daoeping.service.Bzn_questionassignedService;
import com.opensymphony.xwork2.ActionContext;

public class Bzn_questionassignedAction {
	private Bzn_questionassignedService bzn_questionassignedService;
	private TableData tableData;
	private Page page;
	private JsonData jsonData;
	
	
	public JsonData getJsonData() {
		return jsonData;
	}

	public void setJsonData(JsonData jsonData) {
		this.jsonData = jsonData;
	}

	public TableData getTableData() {
		return tableData;
	}

	public void setTableData(TableData tableData) {
		this.tableData = tableData;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	public Bzn_questionassignedService getBzn_questionassignedService() {
		return bzn_questionassignedService;
	}

	public void setBzn_questionassignedService(
			Bzn_questionassignedService bzn_questionassignedService) {
		this.bzn_questionassignedService = bzn_questionassignedService;
	}
	
	public String findBzn_questionassignedByUser(){
		Bzn_questionassigned bzn_questionassigned = new Bzn_questionassigned();
		bzn_questionassigned.setUsr_user((Usr_user)ActionContext.getContext().getSession().get("user"));
		jsonData = bzn_questionassignedService.findBzn_questionassignedByUser(page, tableData, bzn_questionassigned);
		return "findBzn_questionassignedByUser";
	}

}
